package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @create: 2019-07-02 21:04
 **/
@EnableEurekaClient //开启eureka客户端
@SpringBootApplication(scanBasePackages = {"com.test.springcloud.service","com.atguigu.springcloud"})
@EnableFeignClients(basePackages = {"com.test.springcloud"}) //开启feign客户端,指定feignClient所在位置的包名
public class DeptConsumer80_Feign_APP {
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer80_Feign_APP.class, args);
    }
}
